#include <stdint.h>
#include <stdlib.h>
#include "stm32f4xx_hal.h"



static volatile uint32_t g_sysRunTime = 0;

void SystickInit(void)
{
	if(HAL_SYSTICK_Config(SystemCoreClock / 1000))
	{
		while(1);
	}
	
}

void SysTick_Handler(void)
{
	HAL_IncTick();
}

uint32_t GetSysRunTime(void)
{
	return HAL_GetTick();
}
